/** *****************  JAVA头文件说明  ****************
 * file name  :  MerInf.java
 * owner      :  xu
 * copyright  :  UMPAY
 * description:  
 * modified   :  2016-11-3
 * *************************************************/

package com.busi.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;


/** ******************  类说明  *********************
 * class       :  IntegralRuleInf
 * @author     :  dangjingchao
 * @version    :  1.0  
 * description :  第三方账户积分兑换规则
 * @see        :                        
 * ************************************************/   
public class ExchangeRule extends BaseModel implements Serializable {

	private static final long serialVersionUID = 1L;

	private String ruleid;				//规则ID
	private String appid;				//平台ID
	private String appname;				//平台名称
	private String pointstype;			//积分类型
	private Double ratio_points;		//兑换比率平台积分值
	private Double outside_ratio_points;//兑换比率外部积分值
	private Double servicefee;			//手续费
	private Double min_trace_points;	//单笔至少兑换积分
	private Double max_trace_points;	//单笔最多兑换积分
	private Double max_day_points;		//单日最多兑换积分
	private Double max_month_points;	//单月最多兑换积分
	private Double max_day_points_times;//单日最多兑换笔数
	private Double points_step;			//步长
	private Timestamp intime;				//入库时间
	private Timestamp modtime;				//修改时间
	
	
	public String getRuleid() {
		return ruleid;
	}


	public void setRuleid(String ruleid) {
		this.ruleid = ruleid;
	}


	public String getAppid() {
		return appid;
	}


	public void setAppid(String appid) {
		this.appid = appid;
	}


	public String getAppname() {
		return appname;
	}


	public void setAppname(String appname) {
		this.appname = appname;
	}


	public String getPointstype() {
		return pointstype;
	}


	public void setPointstype(String pointstype) {
		this.pointstype = pointstype;
	}


	public Double getRatio_points() {
		return ratio_points;
	}


	public void setRatio_points(Double ratio_points) {
		this.ratio_points = ratio_points;
	}


	public Double getOutside_ratio_points() {
		return outside_ratio_points;
	}


	public void setOutside_ratio_points(Double outside_ratio_points) {
		this.outside_ratio_points = outside_ratio_points;
	}


	public Double getServicefee() {
		return servicefee;
	}


	public void setServicefee(Double servicefee) {
		this.servicefee = servicefee;
	}


	public Double getMin_trace_points() {
		return min_trace_points;
	}


	public void setMin_trace_points(Double min_trace_points) {
		this.min_trace_points = min_trace_points;
	}


	public Double getMax_trace_points() {
		return max_trace_points;
	}


	public void setMax_trace_points(Double max_trace_points) {
		this.max_trace_points = max_trace_points;
	}


	public Double getMax_day_points() {
		return max_day_points;
	}


	public void setMax_day_points(Double max_day_points) {
		this.max_day_points = max_day_points;
	}


	public Double getMax_month_points() {
		return max_month_points;
	}


	public void setMax_month_points(Double max_month_points) {
		this.max_month_points = max_month_points;
	}


	public Timestamp getIntime() {
		return intime;
	}


	public void setIntime(Timestamp intime) {
		this.intime = intime;
	}


	public Timestamp getModtime() {
		return modtime;
	}


	public void setModtime(Timestamp modtime) {
		this.modtime = modtime;
	}


	public Double getMax_day_points_times() {
		return max_day_points_times;
	}


	public void setMax_day_points_times(Double max_day_points_times) {
		this.max_day_points_times = max_day_points_times;
	}


	public Double getPoints_step() {
		return points_step;
	}


	public void setPoints_step(Double points_step) {
		this.points_step = points_step;
	}


	@Override
	public String toString() {
		return "ExchangeRule [ruleid=" + ruleid + ", appid=" + appid + ", appname=" + appname + ", pointstype="
				+ pointstype + ", ratio_points=" + ratio_points + ", outside_ratio_points=" + outside_ratio_points
				+ ", servicefee=" + servicefee + ", min_trace_points=" + min_trace_points + ", max_trace_points="
				+ max_trace_points + ", max_day_points=" + max_day_points + ", max_month_points=" + max_month_points
				+ ", max_day_points_times=" + max_day_points_times + ", points_step=" + points_step + ", intime="
				+ intime + ", modtime=" + modtime + "]";
	}

}
